Visualising Event-B Models with B-Motion Studio
نویسندگان
چکیده
The communication between a developer and a domain expert (or manager) is very important for successful deployment of formal methods. On the one hand it is crucial for the developer to get feedback from the domain expert for further development. On the other hand the domain expert needs to check whether his expectations are met. An animation tool allows to check the presence of desired functionality and to inspect the behaviour of a specification, but requires knowledge about the mathematical notation. To avoid this problem, it is useful to create domain specific visualisations. One tool which performs this task is Brama. This tool is very important for ClearSy, and is being used for several industrial projects and has helped to obtain several contracts. However, the tool cannot be applied in conjunction with ProB. Also, creating the code that defines the mapping between a state and its graphical representation is a rather time consuming task. It can take several weeks to develop a custom visualisation. In [1], we introduced a tool that like Brama allowed to create sophisticated visualisations using Macromedia Flash. The tool, however, still required the user to write some gluing code in Java to link the model and the visualisation. The visualisation built into ProB as described in [2] did not require to write code, as it uses a function written in B to link the model and its visualisation. These visualisations are rather simple and restricted. Also writing the required animation function can still be a considerable challenge. We now introduce B-Motion Studio, a tool that allows to create visualisations as easy as using animation functions in ProB while being almost as sophisticated as our previous Flash based tool (e.g., see Figure 1). B-Motion Studio comes with a graphical editor that allows to create a visualisation within the modeling environment. Also, it does not require to use a different notation for gluing the state and its visualisation. B-Motion Studio uses two important concepts: Controls and Observers. A control is a graphical representation of some aspects of the model. Typically we use labels, images or buttons to represent informations. For instance, if we model
منابع مشابه
Generating Hierarchical State Based Representation From Event-B Models
Many properties of a system may not be obvious just by a quick inspection of the corresponding Event-B model. Users typically rely on animation, scenario analysis, and inspection of state transition graphs for discovering certain behavior of the system. We propose a methodology for generating a hierarchical representation of the system for visualising Event-B models. Our representation is succi...
متن کاملThe Challenge of Visualizing Multiple Overlapping Classification Hierarchies
Techniques for visualising hierarchies have concentrated on displaying static structures or, in the case of dynamic hierarchies, adding or deleting nodes from the hierarchy. However none have adequately dealt with the situation of visualising change occurring in the structure between existing nodes. We present initial work that outlines the difficulties of visualising such an event, with specif...
متن کاملVisualising Event-based Information Models: Issues and Experiences
We describe challenges in visualising event-based system specification and execution and illustrate how we address these from our experience developing a set of notations and tools, the Marama meta-tool platform.
متن کاملVisualising Event-based Software Systems: Issues and Experiences
Event-based software systems, such as componentware, tool abstraction, message passing systems, software process environments, and many data visualisation systems, are becoming ever more common. Constructing, understanding, and modifying such systems can be very difficult, however, and appropriate software visualisation support is often a great help to developers. We describe some issues in bot...
متن کاملSustainability and Creativity Methods: Agents of Change in Teaching the Arch-Design Studio
The aim of this paper is to explore conventional methods of teaching the arch-design studio withideas of sustainability and creativity as agents of change. If this is realised, it means the students of architecture canbe grounded in designing with sustainability and creativity ideas and can be professionals that design and build withideas of creativity and sustainability. So, there are real bui...
متن کامل